Carbon


DebuggerDisposeThreadProcPtr

Header: Threads.h Carbon status: Supported

Defines a pointer to a dispose thread debugging callback function. A dispose thread debugging callback function is a debugging function that the Thread Manager calls whenever it disposes of a thread.

typedef void(* DebuggerDisposeThreadProcPtr) (
    ThreadID threadDeleted
);

You would declare your function like this if you were to name it MyDebuggerDisposeThreadCallback:

void MyDebuggerDisposeThreadCallback (
    ThreadID threadDeleted
);
threadDeleted

The thread ID of the thread being disposed of.

function result

Δ

DISCUSSION

The MyDebuggerDisposeThreadProc function is one of three debugging functions that you can install with the SetDebuggerNotificationProcs function. The Thread Manager calls MyDebuggerDisposeThreadProc whenever an application disposes of a thread. The thread manager calls this debugging function whether you manually call DisposeThread to dispose of a thread or if a thread finishes executing its code and the Thread Manager automatically disposes of it.

AVAILABILITY

Supported in Carbon.


© 2000 Apple Computer, Inc. — (Last Updated 3/8/2000)